וַיָּבֹ֥א אוּרִיָּ֖ה אֵלָ֑יו וַיִּשְׁאַ֣ל דָּוִ֗ד לִשְׁל֤וֹם יוֹאָב֙ וְלִשְׁל֣וֹם הָעָ֔ם וְלִשְׁל֖וֹם הַמִּלְחָמָֽה׃
And when Uriah was come unto him, David asked of him how Joab did, and how the people fared, and how the war prospered.
Read halakhic rulings (Jewish law) on II Samuel 11:7: and classical halakhic sources.